export default {
  data () {
    return {
      isResetTable: false
    }
  },
  methods: {
    toRetTable () {
      this.isResetTable = arguments[0];
    },
    handleMultiCheck (selectionArr) {
      let filterResult = [];
      let selectArr = [];
      if(this.filterMultiCheck) {
        filterResult = this.filterMultiCheck(selectionArr);
        selectArr = filterResult.slice(0);
      } else {
        selectArr = selectionArr.slice(0);
      }
      this.selectionList = selectArr.join(',');
    },
    handleSortColumn (orderBy, orderTy) {
      this.notFormatColumn = orderBy;
      this.sortType = orderTy;
      this.columnName = this.handleOrderBy(orderBy);
    }
  }
}